//
//  Student.h
//  base_m_05
//
//  Created by China Dragon on 2023/1/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/*
 @property 只用在interface 文件里
 
 */
@interface Student : NSObject{
//    int age;
//    int no;
//    float height;
    
    int _age;
//    int no;
//    float height;
}

//当编译器遇到 @property 时，会自动展开 getter 、setter的声明
@property int age;

//- (void)setAge:(int)newAge;
//- (int)age;

@property int no;
//- (void)setNo:(int)newNo;
//- (int)no;

@property float height;
//- (void)setHeight:(float)newHeight;
//- (float)height;

@end

NS_ASSUME_NONNULL_END
